<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label for="group_name" class="control-label col-xs-12 col-sm-2">{:__('区域名字')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="group_name" name="row[group_name]" value="{$row.group_name|htmlentities}" data-rule="required" />
        </div>
    </div>
    <div class="form-group">
        <label for="commission" class="control-label col-xs-12 col-sm-2">{:__('分账比例（%）')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="number" class="form-control" id="commission" name="row[commission]" value="{$row.commission|htmlentities}"
                   data-rule="required;range(0~100)" />
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
